package com.EE7th.dao;

import com.EE7th.domain.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface TeacherDao {
    void insertTeacher(Teacher teacher);

    void linkTeacherClass(
            @Param("teacherId") int teacherId,
            @Param("classId") int classId
    );

    void unlinkTeacherClass(
            @Param("teacherId") int teacherId,
            @Param("classId") int classId
    );

    void deleteTeacher(int id);

    List<Teacher> getTeacherSelection();

    List<Teacher> pageQuery();
}